package com.wcfsy.wechat.wx.entity;

import java.util.ArrayList;
import java.util.List;

import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.map.annotate.JsonSerialize;

@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class OnlineMenu {

	private String type;
	private String name;
	private String url;
	private List<OnlineMenu> sub_button = new ArrayList<OnlineMenu>();
	private int id;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public List<OnlineMenu> getSub_button() {
		return sub_button;
	}

	public void setSub_button(List<OnlineMenu> sub_button) {
		this.sub_button = sub_button;
	}

	@JsonIgnore
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

}
